package cn.yuanqiao.archive.storeRoom.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.annotation.IdAnnotation;
import cn.yuanqiao.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 档案柜对象 YQSHELF
 * 
 * @author xy
 * @date 2023-06-19
 */
public class Shelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @IdAnnotation
    private Long shelfId;


    private String shelfIds;

    /** 库房id */
/*
    @Excel(name = "库房id")
*/
    private Long storeId;

    /** 库房区域 */
    @Excel(name = "库房区域")
    private String kfqy;

    /** 档案柜code */
    @Excel(name = "档案柜编码")
    private String shelfCode;

    /** 档案柜名称 */
    @Excel(name = "档案柜名称")
    private String shelfName;

    /** 档案柜AB面分类 */
    @Excel(name = "档案柜AB面分类")
    private String shelfSide;

    /** 档案柜排数 */
    @Excel(name = "档案柜排数")
    private Integer shelfCross;

    /** 档案柜列数 */
    @Excel(name = "档案柜列数")
    private Integer shelfStand;

    /** 档案柜总格数 */
    @Excel(name = "档案柜总格数")
    private Integer shelfTotalnum;

    /** 档案柜宽度 */
    @Excel(name = "档案柜宽度")
    private Integer shelfWidth;

    /** 档案柜高度 */
    @Excel(name = "档案柜高度")
    private Integer shelfHeight;

    /**是否删除*/
    private Integer isDel;


    /** 创建人 */
/*
    @Excel(name = "创建人")
*/
    private String creator;

    /** 最后修改人 */
/*
    @Excel(name = "最后修改人")
*/
    private Long lastupdater;


    //st.STORE_ID ,st.STORE_NAME,st.STORE_CODE,
    private String storeName;

    private String storeCde;
    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastupdateTime;


    private List<Grid> gridList;

    public void setShelfId(Long shelfId) 
    {
        this.shelfId = shelfId;
    }

    public Long getShelfId() 
    {
        return shelfId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setKfqy(String kfqy)
    {
        this.kfqy = kfqy;
    }

    public String getKfqy()
    {
        return kfqy;
    }
    public void setShelfCode(String shelfCode) 
    {
        this.shelfCode = shelfCode;
    }

    public String getShelfCode() 
    {
        return shelfCode;
    }
    public void setShelfName(String shelfName) 
    {
        this.shelfName = shelfName;
    }

    public String getShelfName() 
    {
        return shelfName;
    }
    public void setShelfSide(String shelfSide) 
    {
        this.shelfSide = shelfSide;
    }

    public String getShelfSide() 
    {
        return shelfSide;
    }
    public void setShelfCross(Integer shelfCross) 
    {
        this.shelfCross = shelfCross;
    }

    public Integer getShelfCross() 
    {
        return shelfCross;
    }
    public void setShelfStand(Integer shelfStand) 
    {
        this.shelfStand = shelfStand;
    }

    public Integer getShelfStand() 
    {
        return shelfStand;
    }
    public void setShelfTotalnum(Integer shelfTotalnum) 
    {
        this.shelfTotalnum = shelfTotalnum;
    }

    public Integer getShelfTotalnum() 
    {
        return shelfTotalnum;
    }
    public void setShelfWidth(Integer shelfWidth) 
    {
        this.shelfWidth = shelfWidth;
    }

    public Integer getShelfWidth() 
    {
        return shelfWidth;
    }
    public void setShelfHeight(Integer shelfHeight) 
    {
        this.shelfHeight = shelfHeight;
    }

    public Integer getShelfHeight() 
    {
        return shelfHeight;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastupdater(Long lastupdater)
    {
        this.lastupdater = lastupdater;
    }

    public Long getLastupdater()
    {
        return lastupdater;
    }
    public void setLastupdateTime(Date lastupdateTime)
    {
        this.lastupdateTime = lastupdateTime;
    }

    public Date getLastupdateTime()
    {
        return lastupdateTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public List<Grid> getGridList() {
        return gridList;
    }

    public void setGridList(List<Grid> gridList) {
        this.gridList = gridList;
    }

    public String getShelfIds() {
        return shelfIds;
    }

    public void setShelfIds(String shelfIds) {
        this.shelfIds = shelfIds;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreCde() {
        return storeCde;
    }

    public void setStoreCde(String storeCde) {
        this.storeCde = storeCde;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shelfId", getShelfId())
            .append("storeId", getStoreId())
            .append("kfqy", getKfqy())
            .append("shelfCode", getShelfCode())
            .append("shelfName", getShelfName())
            .append("shelfSide", getShelfSide())
            .append("shelfCross", getShelfCross())
            .append("shelfStand", getShelfStand())
            .append("shelfTotalnum", getShelfTotalnum())
            .append("shelfWidth", getShelfWidth())
            .append("shelfHeight", getShelfHeight())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("lastupdater", getLastupdater())
            .append("lastupdateTime", getLastupdateTime())
            .append("isDel", getIsDel())
            .append("shelfIds", getShelfIds())
            .append("storeName", getStoreName())
            .append("storeCde", getStoreCde())
            .toString();
    }
}
